package org.wangnian.validationdemo.validator.enums;

public enum GenderEnum implements BasicEnum{
    MALE("male","男"),
    FEMALE("female","女");

    private final String code;
    private final String desc;

    GenderEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
